import time
dingliang=10
print("执行命令")
for i in range(dingliang+1):
    a = "*"* i
    b = "."*(dingliang-i)
    c = (i/dingliang)* 100
    print("{:3.0f}%[{}->{}]".format(c,a,b))
time.sleep(0.2)
print("结束命令")